package org.mall.modules.pojo.message;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/***
 *@author yinxucun
 *@date 2019-12-05 10:35 
 */

@Data
@Accessors(chain = true)
public class AppNoticeVO {
    private Integer id;
    private String title;
    private String content;
    private String path;
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    private Integer type;
    private Integer templateId;
    private String userId;

}
